package com.zy.ems.utils.exceptions;

import com.zy.ems.common.exception.BaseErrorStatus;
import com.zy.ems.common.exception.ErrorStatus;

public class UserCode extends BaseErrorStatus {

	/**
	 * 2001 登录失败,用户名或密码错误
	 */
	public static final ErrorStatus B_USER_2001 = new UserCode(2001, "登录失败,用户名或密码错误!");

	/**
	 * 2002 用户名密码为必填项!
	 */
	public static final ErrorStatus B_USER_2002 = new UserCode(2002, "用户名密码为必填项!");

	/**
	 * 2003 联系方式和邮箱必填!
	 */
	public static final ErrorStatus B_USER_2003 = new UserCode(2003, "联系方式和邮箱必填!");

	protected UserCode(int code, String codeText) {
		super(2000, codeText);
	}

}
